﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Help.aspx.cs" Inherits="IDM.Web.Help" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Help</title>    
    <script type="text/javascript">
	function installFirebird(){
		window.open('http://downloads.sourceforge.net/project/firebird/firebird-win32/2.1.3-Release/Firebird-2.1.3.18185_0_Win32.exe?use_mirror=heanet', '_blank');
	}
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <ext:ResourceManager runat="server">
    </ext:ResourceManager>
    
    <ext:TaskManager runat="server">
	<Tasks>
		<ext:Task Interval="10000" AutoRun="true">
		<DirectEvents>
			<Update OnEvent="UpdateStatus"></Update>
		</DirectEvents>
		</ext:Task>
	</Tasks>
    </ext:TaskManager>
    
    <ext:Viewport runat="server" Layout="Fit">
    <Content>
    
		<ext:Panel runat="server" Layout="VBoxLayout">
		<LayoutConfig>
			<ext:VBoxLayoutConfig Align="Center" Pack="Center" />
		</LayoutConfig>
		<Content>	    
		
			<ext:FormPanel runat="server" ID="WizardForm"
				Layout="VBoxLayout"
				Width="250"
				Height="170"
				Icon="Accept"
				Title="Steps to install application?">
			<LayoutConfig>
				<ext:VBoxLayoutConfig Align="Stretch" Pack="Center" DefaultMargins="10" />
			</LayoutConfig>
			<Content>
			
			<ext:Button runat="server" ID="InstallFirebird"
				Text="Install Firebird server"				
				Icon="Cancel">
			<Listeners>
				<Click Handler="installFirebird();" />
			</Listeners>
			</ext:Button>
			
			<ext:Button runat="server" ID="CreateDB"		
				Disabled="true"
				Icon="Cancel"
				Text="Create database">
			<DirectEvents>
				<Click OnEvent="CreateDatabse">
					<EventMask ShowMask="true" Msg="Creating..." CustomTarget="WizardForm" />
				</Click>
			</DirectEvents>
			</ext:Button>
			
			<ext:Button runat="server" ID="LoginBtn"
				Icon="Cancel"
				Disabled="true"
				Text="Login to application">
			<DirectEvents>
				<Click OnEvent="Login">
					<EventMask ShowMask="true" Msg="Authorizing..." CustomTarget="WizardForm" />
				</Click>
			</DirectEvents>
			</ext:Button>
				
			</Content>
			</ext:FormPanel>
		
		</Content>				
		</ext:Panel>
		
		</Content>
    </ext:Viewport>      
    </form>
</body>
</html>
